
# 禁用ipv6
echo "$(sed  's/.*::/#/g' /etc/hosts)" > /etc/hosts

cat /etc/hosts